#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<math.h>
int main()
{
	int a = 0, b = 0, c = 0, s1 = 0, s2 = 0;
	scanf("%d %d %d", &a, &b, &c);
	int d = b * b - 4 * a * c;
	if (d > 0)
	{
		int m = sqrt(b * b - 4 * a * c);
		s1 = (-b + m) / (2 * a);
		s2 = (-b - m) / (2 * a);

		printf("%d %d\n", s1, s2);
	}
	else if (d = 0)
	{
		int m = sqrt(b * b - 4 * a * c);
		s2 = (-b - m) / (2 * a);
		printf("%d\n", s1);
	}
	else
	{
		printf("no");
	}
	return 0;
}